{:L('LANG_FONT')}
<script> var THEME_ROOT = '__ROOT__/themes/' ; </script>
<div class="header clearfix">
	<div class="center">
    	<a href="{:U('/index')}"><div class="logo">
        	<img src="__ROOT__/themes/images/logo.png" />
        </div></a>
        <div class="menu">
        	<a href="{:U('/work/index')}" {:($nav_menu=="work"?" class='now'":"")}><div>{:L('HEADER_WORK')}</div></a> <!-- class="now"-->
            <a href="{:U('/contractor/index')}" {:($nav_menu=="contractor"?" class='now'":"")}><div>{:L('HEADER_CONTRACTOR')}</div></a>
            <a href="{:U('/space/index')}" {:($nav_menu=="space"?" class='now'":"")}><div>{:L('HEADER_GAME')}</div></a>
            <a href="{:U('/space/index')}" {:($nav_menu=="space"?" class='now'":"")}><div>{:L('HEADER_GOODS')}</div></a>
            <a href="{:U('/space/index')}" {:($nav_menu=="space"?" class='now'":"")}><div>{:L('HEADER_MY_SPACE')}</div></a>
        </div>
        <div class="search">
        	<div><img src="__ROOT__/themes/images/search.png" /></div>
        	<form method="get" action="{:U('/work/index')}" >
            <input type="text" id="search" name="name" value="{:L('HEADER_SEARCH')}" onfocus="if(value=='{:L('HEADER_SEARCH')}') {value=''} setStyleOne(this.id)" onblur="if (value=='') { value='{:L('HEADER_SEARCH')}' } setStyleTwo(this.id)"/>
            </form>
        </div>
        <php> if ($_cUser) { </php>
        <div class="signafter">
        	<a href="{:U('/signout')}"><div  class="outbutton">{:L('HEADER_SIGN_OUT')}</div></a>
        	<a href="{:U('/space/index')}"><div class="word">{$_cUser.username}</div></a>
        </div>
        <php> } else { </php>
        <div class="sign">
        	<a href="{:U('/join')}"><div>{:L('HEADER_JOIN')}</div></a>
            <a href="{:U('/signin')}"><div>{:L('HEADER_SIGN_IN')}</div></a>
        </div>
        <php> }  </php>
    </div>
</div>
<div class="clear"></div>
